package com.suli.account.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author SuLi
 * @since 2022-04-16
 */
@Getter
@Setter
@TableName("sales_quantity")
public class SalesQuantity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 日期
     */
      @TableId("buy_date")
      @JsonFormat(pattern = "MM-dd", timezone="GMT+8")
    private Date buyDate;

    /**
     * 销量
     */
    @TableField("sales_volume")
    private Integer salesVolume;

    /**
     * 销售额
     */
    @TableField("sales")
    private BigDecimal sales;


}
